package xyz.xpman.prisonerfitness.kit;

import android.annotation.SuppressLint;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;

import xyz.xpman.prisonerfitness.common.App;

public class ResKit {;

    private ResKit() { }


    public static Resources get() {
        return App.getContext().getResources();
    }

    public static String getString(int id) {
        return get().getString(id);
    }

    @SuppressLint("UseCompatLoadingForDrawables")
    public static Drawable getDrawable(int id) {
        return get().getDrawable(id);
    }

    public static boolean getBoolean(int id) {
        return get().getBoolean(id);
    }

}
